﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp.DataTransferObject
{
    public class AuthorizationDTO
    {
        public int Id
        {
            get;
            set;
        }

        /// <summary>
        /// 其实是Token
        /// </summary>
        public string Token
        {
            get;
            set;
        }
        public string ResponseType
        {
            get;
            set;
        }

        public string GrantType
        {
            get;
            set;
        }

        public string TokenType
        {
            get;
            set;
        }


        public string Ticket
        {
            get;
            set;
        }
        public string RoleScope
        {
            get;
            set;
        }

        public string ClientId
        {
            get;
            set;
        }

        public string UserId
        {
            get;
            set;
        }

        public string UserName
        {
            get;
            set;
        }

        public DateTime IssuedUtc
        {
            get;
            set;
        }

        public DateTime ExpiresUtc
        {
            get;
            set;
        }
    }
}